Microwave filters GUI  2.0.3
Classes | Packages | Functions | Variables
mwfiltersgui.py File Reference

Go to the source code of this file.

Classes

class  mwfiltersgui.EnergyDbPlot
 Class derived from DbPlot to allow adding some widgets for plotting energy and power. More...
class  mwfiltersgui.TempVarDlg
 Widget to ask the user for temperature variation parameters. More...
class  mwfiltersgui.SpecMask
 Specification mask class. More...
class  mwfiltersgui.Stouchstone
 [S] parameters class, as read from Touchstone file. More...
class  mwfiltersgui.myTableWidget
 Subclass for: More...
class  mwfiltersgui.MainWindow
 GUI main window class. More...
class  mwfiltersgui.HelpForm
 GUI dialog to display help. More...
class  mwfiltersgui.SetCouplingDlg
 Dialog to set the type of a coupling. More...
class  mwfiltersgui.MatrixEditDlg
 GUI dialog to edit coupling matrix. More...
class  mwfiltersgui.PredisZeorsDlg
 Dialog to select predistortion zeros. More...
class  mwfiltersgui.SensitivityAnalysis
 Class for sensitivity analysis. More...
class  mwfiltersgui.CouplingMatrixDlg
 GUI dialog to show coupling matrices. More...
class  mwfiltersgui.ParamEditDlg
 GUI dialog to edit synthesis parameters. More...

Packages

namespace  mwfiltersgui
 Graphical User Interface.

Functions

def mwfiltersgui.__init__
 Derived class constructor.
def mwfiltersgui.updateInputPower
 Update energy and power plots after inputPower value has been changed by the user.
def mwfiltersgui.updateExcitation
 Update energy and power plots after excitation value has been changed by the user.
def mwfiltersgui.appendReverseData
 Set YData for reverse excitation.
def mwfiltersgui.replaceReverseData
 Replace YData for reverse excitation.
def mwfiltersgui.sizeHint
def mwfiltersgui.runSynthesis
 Runs parameter validation, filters synthesis and results plots.
def mwfiltersgui.usage
 Print error message and command line help.

Variables

string mwfiltersgui.MAC = "qt_mac_set_native_menubar"
 Global variable useful only for Mac OS X.
 mwfiltersgui.importedExtraFilters = False
 Variable set to True if the non-free libextrafilters is available.
 mwfiltersgui.importedLossyFilters = False
 Variable set to True if the non-free liblossyfilters is available.
string mwfiltersgui.applicationName = "Microwave filters GUI"
 Program name as run by the user.
list mwfiltersgui.fileName = args[0]
 Name of the parameters file to process.
tuple mwfiltersgui.P = readParamFile(fileName)
 Parameters class instance containing filter and synthesis parameters read from the parameters file.
tuple mwfiltersgui.FT = FrequencyTransformBP(P)
 Create frequency transform instance.
string mwfiltersgui.stFloatPoint = r'((\d+\.?\d*|\d*\.?\d+)([Ee][-+]?\d+)?)'
 Create validator strings and regular expressions.
tuple mwfiltersgui.app = QApplication(QtArgs)
 QApplication class instance, containing our application.

Detailed Description

Todo:

Linux executables created with cx_freeze report sys.stdout.encoding equal to None.

Check end-of-line in a Mac computer. It should work if platform.system() returns something different than 'Windows', 'Microsoft', 'Vista' or 'Linux'.

To avoid program crash when trying to write non-ascii characters, these characters are replaced by '?'. It would be better to enforce writting uft-8 to stdout regardless of sys.stdout.encoding .

Todo:
Possibility to change styles with a combobox. Not obvious in pyQt.

Definition in file mwfiltersgui.py.